<?php
/**
 * Intreface DAO
 *
 * @author: http://phpdao.com
 * @date: 2015-05-26 14:36
 */
interface ReligiousPlacesDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return ReligiousPlaces 
	 */
	public function load($religiousPlace);

	/**
	 * Get all records from table
	 */
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	public function queryAllSearchBy($religiousPlace);
	
	public function SearchByCount($religiousPlace);
	
	public function queryAll($religiousPlace);
	
	public function queryAllCount($religiousPlace);
	
	/**
 	 * Delete record from table
 	 * @param religiousPlace primary key
 	 */
	public function delete($religiousPlace);
	
	/**
 	 * Insert record to table
 	 *
 	 * @param ReligiousPlaces religiousPlace
 	 */
	public function insert($religiousPlace);
	
	/**
 	 * Update record in table
 	 *
 	 * @param ReligiousPlaces religiousPlace
 	 */
	public function update($religiousPlace);	

	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryByReligiousplacesName($value);

	public function queryByReligiousplacesType($value);

	public function queryByReligiousplacesAddress($value);

	public function queryByReligiousplacesUrl($value);

	public function queryByReligiousplacesPhone1($value);

	public function queryByReligiousplacesPhone2($value);

	public function queryByCreatedDate($value);

	public function queryByUpdatedDate($value);

	public function queryByStatus($value);


	public function deleteByReligiousplacesName($value);

	public function deleteByReligiousplacesType($value);

	public function deleteByReligiousplacesAddress($value);

	public function deleteByReligiousplacesUrl($value);

	public function deleteByReligiousplacesPhone1($value);

	public function deleteByReligiousplacesPhone2($value);

	public function deleteByCreatedDate($value);

	public function deleteByUpdatedDate($value);

	public function deleteByStatus($value);


}
?>